package com.example.designprinciple.srp;

/**
 * @Authors：gaoyang
 * @CreateTime：2021-10-20
 * @Description：todo
 */
public class Course {

    public void study(String courseName){
        if("直播课".equals(courseName)){
            System.out.println(courseName+"不能快进");
        }else {
            System.out.println(courseName+"可以反复回看");
        }
    }
}
